package com.foreknow.view;

import com.foreknow.model.Admin;
import com.foreknow.service.AdminService;
import com.foreknow.service.impl.AdminServiceImpl;

public class MainWindows {
    public static void main(String[] args) {
        AdminService service = new AdminServiceImpl();
        Admin admin = new Admin();
        admin.setName("xxx");
        admin.setPass("111111");
        boolean isRight = service.add(admin);
        System.out.println(isRight);
    }
}
